Skip to content

docs(dx): document GPG signing requirement for commits#681

Draft
Copilot wants to merge 3 commits into
mainfrom
copilot/sub-pr-674
Draft

docs(dx): document GPG signing requirement for commits#681
Copilot wants to merge 3 commits into
mainfrom
copilot/sub-pr-674

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 11, 2026

Neither CLAUDE.md nor the commit-workflow rule mentioned GPG signing — only DCO --signoff — causing review churn when unsigned commits were pushed (surfaced in PR #672).

Changes

  • CLAUDE.md — updated commit guidance to git commit --signoff -S; noted both DCO and GPG are enforced by repo policy.
  • .claude/rules/commit-workflow.md — added "Commit Signing" section: one-time GPG config, standard commit command, and a %G? verification snippet. Acceptable codes are G (good) or U (good, untrusted locally); N/B/E need investigation. GitHub's Verified badge is the authoritative post-push check — local trust state may differ.
  • CONTRIBUTING.md — "Sign-off" section renamed to "Sign-off and GPG Signing"; command updated to git commit --signoff -S; cross-references commit-workflow.md as canonical policy source.
  • .claude/agents/code-standards-enforcer.md — commit-signing checklist item updated to require --signoff -S with a pointer to commit-workflow.md.

commit-workflow.md is now the single source of truth; the other files point to it rather than duplicating the policy.

manishdixitlfx and others added 3 commits May 11, 2026 10:41
Surfaced during PR #672 review: @jordane confirmed GPG signing is
enforced by repo policy, but neither CLAUDE.md nor
.claude/rules/commit-workflow.md mentioned it. Both said only DCO
sign-off was required, which caused churn during that review.

- CLAUDE.md: updated the single-line commit guidance to `git commit
  --signoff -S` and noted both signatures are enforced.
- .claude/rules/commit-workflow.md: added a "Commit Signing" section
  with one-time GPG setup, the standard commit command, and a
  signature-verification snippet for branch validation.

Signed-off-by: Manish Dixit <mdixit@linuxfoundation.org>
Address PR #674 review feedback from @copilot-pull-request-reviewer
and @jordane.

- CONTRIBUTING.md (Sign-off section): renamed to "Sign-off and GPG
  Signing", expanded to require both --signoff and -S, included
  one-time GPG config, and pointed at .claude/rules/commit-workflow.md
  as the canonical policy source (per
  @copilot-pull-request-reviewer)
- .claude/agents/code-standards-enforcer.md (General Rules
  checklist): updated the commit-signing item to require both
  --signoff and -S with a cross-reference to commit-workflow.md
  (per @copilot-pull-request-reviewer)
- .claude/rules/commit-workflow.md (verification snippet): relaxed
  acceptable %G? codes to G or U (good-but-untrusted is fine for
  policy), documented that N/B/E need investigation, and noted that
  GitHub's Verified badge is the authoritative post-push check
  since local %G? depends on which keys are in the user's trust db
  (per @copilot-pull-request-reviewer and @jordane)

Resolves 2 review threads.

Signed-off-by: Manish Dixit <mdixit@linuxfoundation.org>
Copilot AI requested review from Copilot and removed request for Copilot May 11, 2026 21:32
Copilot AI changed the title [WIP] Document GPG signing requirement for commits docs(dx): document GPG signing requirement for commits May 11, 2026
Copilot AI requested a review from manishdixitlfx May 11, 2026 21:35
Base automatically changed from docs/gpg-enforcement to main May 12, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants